<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8">
		<title>vue</title>
        <!-- 引入vue文件-->
		<script src="http://static.runoob.com/assets/vue/1.0.11/vue.min.js"></script>
	</head>
	<body>
		<div id="vue">
			<ul>
				<!-- 列表输出 -->
				<li v-for="list in lists">
					{{list.text}}
				</li>
			</ul>
		</div>
		<script>
			new Vue({
				el:'#vue',
				data:{
					 lists:[
					      { text: '彭乐' },
					      { text: '龚志成' },
					      { text: '刘学丽' }
					 ]
				}
			})
		</script>
	</body>
</html>
